{* Smarty *}
{*
 *  This file is part of Urd.
 *
 *  Urd is free software; you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation; either version 3 of the License, or
 *  (at your option) any later version.
 *  Urd is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with this program. See the file "COPYING". If it does not
 *  exist, see <http://www.gnu.org/licenses/>.
 *
 * $LastChangedDate: 2008-06-14 11:01:35 +0200 (Sat, 14 Jun 2008) $
 * $Rev: 1161 $
 * $Author: styck $
 * $Id: admin_tasks.tpl 1161 2008-06-14 09:01:35Z styck $
 *}
{include file="head.tpl" title=$title}

<br/><h3>{$LN_tasks_title}</h3>
<div><span class="Message" id="message_bar"></span></div>

<select name="status" id="status_select" size="1" >
{foreach item=x from=$allstatus key=k name=l}
<option value="{$k}" {if $k eq $currentstatus} selected="selected" {/if} >{$x}</option>
{/foreach}
</select>
<select name="time" id="time_select" size="1" >
{foreach item=x from=$alltimes key=k name=l}
<option value="{$k}" {if $k eq $currenttime} selected="selected" {/if} >{$x}</option>
{/foreach}
</select>

<input type="text" name="_search" value="{$LN_search}" id="tasksearch" onclick="javascript:clean_input('tasksearch', 'search')"/>
<input type="text" name="_max_count" value="{$LN_number}" id="max_count" onclick="javascript:clean_input('max_count', 'max_count')"/>
<input type="button" onclick="javascript:load_tasks(null, null);" id="search" value="{$LN_search}" class="submit"/>
<br/><br/>
<div id="tasksdiv">
</div>

<script type="text/javascript">
update_tasks();
</script>

<p></p>

{include file="foot.tpl"}
